package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.easy.common.bean.OrderMaster;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author BLNYZYKER
 * @description 针对表【order_master(总订单表)】的数据库操作Service
 * @createDate 2025-09-09 10:11:21
 */
public interface OrderMasterService {
    OrderMaster getOrderMasterById(Integer id);

    OrderMaster getOrderMasterByName(String name);

    int addOrderMaster(OrderMaster orderMaster);

    int updateOrderMaster(OrderMaster orderMaster);

    int deleteOrderMaster(Integer id);

    List<OrderMaster> getAll(OrderMaster orderMaster);

    IPage<OrderMaster> getPage(OrderMaster orderMaster, IPage<OrderMaster> page);

}
